package com.homejoy.system.domain;

import com.homejoy.common.annotation.Excel;
import com.homejoy.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 房源设施对象 homejoy_property_facility
 * 
 * @author homeJoy
 * @date 2025-11-08
 */
public class HomejoyPropertyFacility extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设施ID */
    private Long facilityId;

    /** 房源ID */
    @Excel(name = "房源ID")
    private Long propertyId;

    /** 设施类型(1:家具 2:家电 3:其他) */
    @Excel(name = "设施类型(1:家具 2:家电 3:其他)")
    private Integer facilityType;

    /** 设施名称 */
    @Excel(name = "设施名称")
    private String facilityName;

    /** 数量 */
    @Excel(name = "数量")
    private Long facilityCount;

    /** 状态(1:正常 2:损坏 3:维修中) */
    @Excel(name = "状态(1:正常 2:损坏 3:维修中)")
    private Integer facilityStatus;

    public void setFacilityId(Long facilityId) 
    {
        this.facilityId = facilityId;
    }

    public Long getFacilityId() 
    {
        return facilityId;
    }

    public void setPropertyId(Long propertyId) 
    {
        this.propertyId = propertyId;
    }

    public Long getPropertyId() 
    {
        return propertyId;
    }

    public void setFacilityType(Integer facilityType) 
    {
        this.facilityType = facilityType;
    }

    public Integer getFacilityType() 
    {
        return facilityType;
    }

    public void setFacilityName(String facilityName) 
    {
        this.facilityName = facilityName;
    }

    public String getFacilityName() 
    {
        return facilityName;
    }

    public void setFacilityCount(Long facilityCount) 
    {
        this.facilityCount = facilityCount;
    }

    public Long getFacilityCount() 
    {
        return facilityCount;
    }

    public void setFacilityStatus(Integer facilityStatus) 
    {
        this.facilityStatus = facilityStatus;
    }

    public Integer getFacilityStatus() 
    {
        return facilityStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("facilityId", getFacilityId())
            .append("propertyId", getPropertyId())
            .append("facilityType", getFacilityType())
            .append("facilityName", getFacilityName())
            .append("facilityCount", getFacilityCount())
            .append("facilityStatus", getFacilityStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
